package com.ruan4.yangjj.entity;

import java.io.Serializable;
import java.util.Date;

public class Appointment implements Serializable {
    private int id;//预约编号
    private Doctor doctor;  //医生
    private Patient patient;  //就诊人
    private Clinic clinic ;  //门诊
    private Date time; //预约时间
    private Date generate; //挂号时间
    private String state; //预约的状态
    private int num ; //挂号的号码

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Doctor getDoctor() {
        return doctor;
    }

    public void setDoctor(Doctor doctor) {
        this.doctor = doctor;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Clinic getClinic() {
        return clinic;
    }

    public void setClinic(Clinic clinic) {
        this.clinic = clinic;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getGenerate() {
        return generate;
    }

    public void setGenerate(Date generate) {
        this.generate = generate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
